ImageGear Professional v18.2 > User Guide > Using ImageGear > Optical Character Recognition > Working with the ImageGear Recognition Component > The Recognition Component and Multi-Threading |
The ImageGear Recognition component API is thread safe. This means that the same API functions can be called from different threads simultaneously. Specifically, the application can recognize images simultaneously in different threads.
Note, however, that Recognition component objects are not thread-safe. If an application needs to access the same object from different threads, it is the application's responsibility to synchronize access to the object.
An application can use multiple setting collections. This allows the use of different sets of settings in different threads. It is also possible to use one setting collection for several threads; in this case a setting change made in one thread becomes actual for the rest of the threads that use the same collection.
The expression "thread-safe" does not mean all the CSDK elements can work simultaneously.